package com.rmkj.trade.match.data;

import com.rmkj.trade.match.core.ob.Changeable;

/**
 * Created by Administrator on 2019/1/11.
 */
public class TickerDataChangeable implements Changeable<TickerData> {
	@Override
	public boolean isChanged(TickerData old, TickerData last) {
		if(last != null &&
				(old == null || !old.getPrice().equals(last.getPrice()))){
			return true;
		}
		return false;
	}
}
